<?php include_view('common/header.php')?>

<div class="info">
	Welcome~
</div>

<table>
	<tr>
		<th colspan="2">服务器信息</th>
	</tr>
	<tr>
		<td width="200">PHP版本</td>
		<td><?php echo PHP_VERSION?></td>
	</tr>
	<tr>
		<td>MySQL版本</td>
		<td>
		<?php
			$rs=mysql_fetch_array(mysql_query("SELECT VERSION()"));
			echo $rs[0];
		?>
		</td>
	</tr>
	<tr>
		<td>服务器当前时间</td>
		<td><?php echo date('Y-m-d H:i:s');?></td>
	</tr>
	<tr>
		<td>最大上传文件限制</td>
		<td><?php echo ini_get('file_uploads') ? ini_get('upload_max_filesize') : 'Disabled'?></td>
	</tr>
	<tr>
		<td>操作系统</td>
		<td><?php echo php_uname()?></td>
	</tr>
</table>

<?php include_view('common/footer.php')?>